package com.mojian.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mojian.entity.ResourceDownload;
import com.mojian.vo.resource.ResourceDownloadVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ResourceDownloadMapper extends BaseMapper<ResourceDownload> {
    Page<ResourceDownloadVo> getMyDownloads(Page<ResourceDownloadVo> page, @Param("userId") Long userId);
} 